package com.runfast.waimai.dao.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RunfastGoodsSellChildrenExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RunfastGoodsSellChildrenExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBusinessidIsNull() {
            addCriterion("businessId is null");
            return (Criteria) this;
        }

        public Criteria andBusinessidIsNotNull() {
            addCriterion("businessId is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessidEqualTo(Integer value) {
            addCriterion("businessId =", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidNotEqualTo(Integer value) {
            addCriterion("businessId <>", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidGreaterThan(Integer value) {
            addCriterion("businessId >", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidGreaterThanOrEqualTo(Integer value) {
            addCriterion("businessId >=", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidLessThan(Integer value) {
            addCriterion("businessId <", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidLessThanOrEqualTo(Integer value) {
            addCriterion("businessId <=", value, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidIn(List<Integer> values) {
            addCriterion("businessId in", values, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidNotIn(List<Integer> values) {
            addCriterion("businessId not in", values, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidBetween(Integer value1, Integer value2) {
            addCriterion("businessId between", value1, value2, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessidNotBetween(Integer value1, Integer value2) {
            addCriterion("businessId not between", value1, value2, "businessid");
            return (Criteria) this;
        }

        public Criteria andBusinessnameIsNull() {
            addCriterion("businessName is null");
            return (Criteria) this;
        }

        public Criteria andBusinessnameIsNotNull() {
            addCriterion("businessName is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessnameEqualTo(String value) {
            addCriterion("businessName =", value, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameNotEqualTo(String value) {
            addCriterion("businessName <>", value, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameGreaterThan(String value) {
            addCriterion("businessName >", value, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameGreaterThanOrEqualTo(String value) {
            addCriterion("businessName >=", value, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameLessThan(String value) {
            addCriterion("businessName <", value, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameLessThanOrEqualTo(String value) {
            addCriterion("businessName <=", value, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameLike(String value) {
            addCriterion("businessName like", value, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameNotLike(String value) {
            addCriterion("businessName not like", value, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameIn(List<String> values) {
            addCriterion("businessName in", values, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameNotIn(List<String> values) {
            addCriterion("businessName not in", values, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameBetween(String value1, String value2) {
            addCriterion("businessName between", value1, value2, "businessname");
            return (Criteria) this;
        }

        public Criteria andBusinessnameNotBetween(String value1, String value2) {
            addCriterion("businessName not between", value1, value2, "businessname");
            return (Criteria) this;
        }

        public Criteria andGoodssellidIsNull() {
            addCriterion("goodsSellId is null");
            return (Criteria) this;
        }

        public Criteria andGoodssellidIsNotNull() {
            addCriterion("goodsSellId is not null");
            return (Criteria) this;
        }

        public Criteria andGoodssellidEqualTo(Integer value) {
            addCriterion("goodsSellId =", value, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellidNotEqualTo(Integer value) {
            addCriterion("goodsSellId <>", value, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellidGreaterThan(Integer value) {
            addCriterion("goodsSellId >", value, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellidGreaterThanOrEqualTo(Integer value) {
            addCriterion("goodsSellId >=", value, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellidLessThan(Integer value) {
            addCriterion("goodsSellId <", value, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellidLessThanOrEqualTo(Integer value) {
            addCriterion("goodsSellId <=", value, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellidIn(List<Integer> values) {
            addCriterion("goodsSellId in", values, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellidNotIn(List<Integer> values) {
            addCriterion("goodsSellId not in", values, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellidBetween(Integer value1, Integer value2) {
            addCriterion("goodsSellId between", value1, value2, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellidNotBetween(Integer value1, Integer value2) {
            addCriterion("goodsSellId not between", value1, value2, "goodssellid");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameIsNull() {
            addCriterion("goodsSellName is null");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameIsNotNull() {
            addCriterion("goodsSellName is not null");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameEqualTo(String value) {
            addCriterion("goodsSellName =", value, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameNotEqualTo(String value) {
            addCriterion("goodsSellName <>", value, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameGreaterThan(String value) {
            addCriterion("goodsSellName >", value, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameGreaterThanOrEqualTo(String value) {
            addCriterion("goodsSellName >=", value, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameLessThan(String value) {
            addCriterion("goodsSellName <", value, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameLessThanOrEqualTo(String value) {
            addCriterion("goodsSellName <=", value, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameLike(String value) {
            addCriterion("goodsSellName like", value, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameNotLike(String value) {
            addCriterion("goodsSellName not like", value, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameIn(List<String> values) {
            addCriterion("goodsSellName in", values, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameNotIn(List<String> values) {
            addCriterion("goodsSellName not in", values, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameBetween(String value1, String value2) {
            addCriterion("goodsSellName between", value1, value2, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andGoodssellnameNotBetween(String value1, String value2) {
            addCriterion("goodsSellName not between", value1, value2, "goodssellname");
            return (Criteria) this;
        }

        public Criteria andNumIsNull() {
            addCriterion("num is null");
            return (Criteria) this;
        }

        public Criteria andNumIsNotNull() {
            addCriterion("num is not null");
            return (Criteria) this;
        }

        public Criteria andNumEqualTo(Integer value) {
            addCriterion("num =", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotEqualTo(Integer value) {
            addCriterion("num <>", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThan(Integer value) {
            addCriterion("num >", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("num >=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThan(Integer value) {
            addCriterion("num <", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThanOrEqualTo(Integer value) {
            addCriterion("num <=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumIn(List<Integer> values) {
            addCriterion("num in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotIn(List<Integer> values) {
            addCriterion("num not in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumBetween(Integer value1, Integer value2) {
            addCriterion("num between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotBetween(Integer value1, Integer value2) {
            addCriterion("num not between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andOrdercodeIsNull() {
            addCriterion("orderCode is null");
            return (Criteria) this;
        }

        public Criteria andOrdercodeIsNotNull() {
            addCriterion("orderCode is not null");
            return (Criteria) this;
        }

        public Criteria andOrdercodeEqualTo(String value) {
            addCriterion("orderCode =", value, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeNotEqualTo(String value) {
            addCriterion("orderCode <>", value, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeGreaterThan(String value) {
            addCriterion("orderCode >", value, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeGreaterThanOrEqualTo(String value) {
            addCriterion("orderCode >=", value, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeLessThan(String value) {
            addCriterion("orderCode <", value, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeLessThanOrEqualTo(String value) {
            addCriterion("orderCode <=", value, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeLike(String value) {
            addCriterion("orderCode like", value, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeNotLike(String value) {
            addCriterion("orderCode not like", value, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeIn(List<String> values) {
            addCriterion("orderCode in", values, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeNotIn(List<String> values) {
            addCriterion("orderCode not in", values, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeBetween(String value1, String value2) {
            addCriterion("orderCode between", value1, value2, "ordercode");
            return (Criteria) this;
        }

        public Criteria andOrdercodeNotBetween(String value1, String value2) {
            addCriterion("orderCode not between", value1, value2, "ordercode");
            return (Criteria) this;
        }

        public Criteria andPidIsNull() {
            addCriterion("pid is null");
            return (Criteria) this;
        }

        public Criteria andPidIsNotNull() {
            addCriterion("pid is not null");
            return (Criteria) this;
        }

        public Criteria andPidEqualTo(Integer value) {
            addCriterion("pid =", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotEqualTo(Integer value) {
            addCriterion("pid <>", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThan(Integer value) {
            addCriterion("pid >", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThanOrEqualTo(Integer value) {
            addCriterion("pid >=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThan(Integer value) {
            addCriterion("pid <", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThanOrEqualTo(Integer value) {
            addCriterion("pid <=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidIn(List<Integer> values) {
            addCriterion("pid in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotIn(List<Integer> values) {
            addCriterion("pid not in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidBetween(Integer value1, Integer value2) {
            addCriterion("pid between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotBetween(Integer value1, Integer value2) {
            addCriterion("pid not between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Double value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Double value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Double value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Double value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Double value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Double> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Double> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Double value1, Double value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Double value1, Double value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andTotalpriceIsNull() {
            addCriterion("totalprice is null");
            return (Criteria) this;
        }

        public Criteria andTotalpriceIsNotNull() {
            addCriterion("totalprice is not null");
            return (Criteria) this;
        }

        public Criteria andTotalpriceEqualTo(Double value) {
            addCriterion("totalprice =", value, "totalprice");
            return (Criteria) this;
        }

        public Criteria andTotalpriceNotEqualTo(Double value) {
            addCriterion("totalprice <>", value, "totalprice");
            return (Criteria) this;
        }

        public Criteria andTotalpriceGreaterThan(Double value) {
            addCriterion("totalprice >", value, "totalprice");
            return (Criteria) this;
        }

        public Criteria andTotalpriceGreaterThanOrEqualTo(Double value) {
            addCriterion("totalprice >=", value, "totalprice");
            return (Criteria) this;
        }

        public Criteria andTotalpriceLessThan(Double value) {
            addCriterion("totalprice <", value, "totalprice");
            return (Criteria) this;
        }

        public Criteria andTotalpriceLessThanOrEqualTo(Double value) {
            addCriterion("totalprice <=", value, "totalprice");
            return (Criteria) this;
        }

        public Criteria andTotalpriceIn(List<Double> values) {
            addCriterion("totalprice in", values, "totalprice");
            return (Criteria) this;
        }

        public Criteria andTotalpriceNotIn(List<Double> values) {
            addCriterion("totalprice not in", values, "totalprice");
            return (Criteria) this;
        }

        public Criteria andTotalpriceBetween(Double value1, Double value2) {
            addCriterion("totalprice between", value1, value2, "totalprice");
            return (Criteria) this;
        }

        public Criteria andTotalpriceNotBetween(Double value1, Double value2) {
            addCriterion("totalprice not between", value1, value2, "totalprice");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidIsNull() {
            addCriterion("goodsSellOptionId is null");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidIsNotNull() {
            addCriterion("goodsSellOptionId is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidEqualTo(Integer value) {
            addCriterion("goodsSellOptionId =", value, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidNotEqualTo(Integer value) {
            addCriterion("goodsSellOptionId <>", value, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidGreaterThan(Integer value) {
            addCriterion("goodsSellOptionId >", value, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidGreaterThanOrEqualTo(Integer value) {
            addCriterion("goodsSellOptionId >=", value, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidLessThan(Integer value) {
            addCriterion("goodsSellOptionId <", value, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidLessThanOrEqualTo(Integer value) {
            addCriterion("goodsSellOptionId <=", value, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidIn(List<Integer> values) {
            addCriterion("goodsSellOptionId in", values, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidNotIn(List<Integer> values) {
            addCriterion("goodsSellOptionId not in", values, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidBetween(Integer value1, Integer value2) {
            addCriterion("goodsSellOptionId between", value1, value2, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionidNotBetween(Integer value1, Integer value2) {
            addCriterion("goodsSellOptionId not between", value1, value2, "goodsselloptionid");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameIsNull() {
            addCriterion("goodsSellOptionName is null");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameIsNotNull() {
            addCriterion("goodsSellOptionName is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameEqualTo(String value) {
            addCriterion("goodsSellOptionName =", value, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameNotEqualTo(String value) {
            addCriterion("goodsSellOptionName <>", value, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameGreaterThan(String value) {
            addCriterion("goodsSellOptionName >", value, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameGreaterThanOrEqualTo(String value) {
            addCriterion("goodsSellOptionName >=", value, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameLessThan(String value) {
            addCriterion("goodsSellOptionName <", value, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameLessThanOrEqualTo(String value) {
            addCriterion("goodsSellOptionName <=", value, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameLike(String value) {
            addCriterion("goodsSellOptionName like", value, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameNotLike(String value) {
            addCriterion("goodsSellOptionName not like", value, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameIn(List<String> values) {
            addCriterion("goodsSellOptionName in", values, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameNotIn(List<String> values) {
            addCriterion("goodsSellOptionName not in", values, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameBetween(String value1, String value2) {
            addCriterion("goodsSellOptionName between", value1, value2, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodsselloptionnameNotBetween(String value1, String value2) {
            addCriterion("goodsSellOptionName not between", value1, value2, "goodsselloptionname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidIsNull() {
            addCriterion("goodsSellStandardId is null");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidIsNotNull() {
            addCriterion("goodsSellStandardId is not null");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidEqualTo(Integer value) {
            addCriterion("goodsSellStandardId =", value, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidNotEqualTo(Integer value) {
            addCriterion("goodsSellStandardId <>", value, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidGreaterThan(Integer value) {
            addCriterion("goodsSellStandardId >", value, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidGreaterThanOrEqualTo(Integer value) {
            addCriterion("goodsSellStandardId >=", value, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidLessThan(Integer value) {
            addCriterion("goodsSellStandardId <", value, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidLessThanOrEqualTo(Integer value) {
            addCriterion("goodsSellStandardId <=", value, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidIn(List<Integer> values) {
            addCriterion("goodsSellStandardId in", values, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidNotIn(List<Integer> values) {
            addCriterion("goodsSellStandardId not in", values, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidBetween(Integer value1, Integer value2) {
            addCriterion("goodsSellStandardId between", value1, value2, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardidNotBetween(Integer value1, Integer value2) {
            addCriterion("goodsSellStandardId not between", value1, value2, "goodssellstandardid");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameIsNull() {
            addCriterion("goodsSellStandardName is null");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameIsNotNull() {
            addCriterion("goodsSellStandardName is not null");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameEqualTo(String value) {
            addCriterion("goodsSellStandardName =", value, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameNotEqualTo(String value) {
            addCriterion("goodsSellStandardName <>", value, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameGreaterThan(String value) {
            addCriterion("goodsSellStandardName >", value, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameGreaterThanOrEqualTo(String value) {
            addCriterion("goodsSellStandardName >=", value, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameLessThan(String value) {
            addCriterion("goodsSellStandardName <", value, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameLessThanOrEqualTo(String value) {
            addCriterion("goodsSellStandardName <=", value, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameLike(String value) {
            addCriterion("goodsSellStandardName like", value, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameNotLike(String value) {
            addCriterion("goodsSellStandardName not like", value, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameIn(List<String> values) {
            addCriterion("goodsSellStandardName in", values, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameNotIn(List<String> values) {
            addCriterion("goodsSellStandardName not in", values, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameBetween(String value1, String value2) {
            addCriterion("goodsSellStandardName between", value1, value2, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andGoodssellstandardnameNotBetween(String value1, String value2) {
            addCriterion("goodsSellStandardName not between", value1, value2, "goodssellstandardname");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andDispriceIsNull() {
            addCriterion("disprice is null");
            return (Criteria) this;
        }

        public Criteria andDispriceIsNotNull() {
            addCriterion("disprice is not null");
            return (Criteria) this;
        }

        public Criteria andDispriceEqualTo(BigDecimal value) {
            addCriterion("disprice =", value, "disprice");
            return (Criteria) this;
        }

        public Criteria andDispriceNotEqualTo(BigDecimal value) {
            addCriterion("disprice <>", value, "disprice");
            return (Criteria) this;
        }

        public Criteria andDispriceGreaterThan(BigDecimal value) {
            addCriterion("disprice >", value, "disprice");
            return (Criteria) this;
        }

        public Criteria andDispriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("disprice >=", value, "disprice");
            return (Criteria) this;
        }

        public Criteria andDispriceLessThan(BigDecimal value) {
            addCriterion("disprice <", value, "disprice");
            return (Criteria) this;
        }

        public Criteria andDispriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("disprice <=", value, "disprice");
            return (Criteria) this;
        }

        public Criteria andDispriceIn(List<BigDecimal> values) {
            addCriterion("disprice in", values, "disprice");
            return (Criteria) this;
        }

        public Criteria andDispriceNotIn(List<BigDecimal> values) {
            addCriterion("disprice not in", values, "disprice");
            return (Criteria) this;
        }

        public Criteria andDispriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("disprice between", value1, value2, "disprice");
            return (Criteria) this;
        }

        public Criteria andDispriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("disprice not between", value1, value2, "disprice");
            return (Criteria) this;
        }

        public Criteria andOptionidsIsNull() {
            addCriterion("optionIds is null");
            return (Criteria) this;
        }

        public Criteria andOptionidsIsNotNull() {
            addCriterion("optionIds is not null");
            return (Criteria) this;
        }

        public Criteria andOptionidsEqualTo(String value) {
            addCriterion("optionIds =", value, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsNotEqualTo(String value) {
            addCriterion("optionIds <>", value, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsGreaterThan(String value) {
            addCriterion("optionIds >", value, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsGreaterThanOrEqualTo(String value) {
            addCriterion("optionIds >=", value, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsLessThan(String value) {
            addCriterion("optionIds <", value, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsLessThanOrEqualTo(String value) {
            addCriterion("optionIds <=", value, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsLike(String value) {
            addCriterion("optionIds like", value, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsNotLike(String value) {
            addCriterion("optionIds not like", value, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsIn(List<String> values) {
            addCriterion("optionIds in", values, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsNotIn(List<String> values) {
            addCriterion("optionIds not in", values, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsBetween(String value1, String value2) {
            addCriterion("optionIds between", value1, value2, "optionids");
            return (Criteria) this;
        }

        public Criteria andOptionidsNotBetween(String value1, String value2) {
            addCriterion("optionIds not between", value1, value2, "optionids");
            return (Criteria) this;
        }

        public Criteria andPtypeIsNull() {
            addCriterion("ptype is null");
            return (Criteria) this;
        }

        public Criteria andPtypeIsNotNull() {
            addCriterion("ptype is not null");
            return (Criteria) this;
        }

        public Criteria andPtypeEqualTo(Integer value) {
            addCriterion("ptype =", value, "ptype");
            return (Criteria) this;
        }

        public Criteria andPtypeNotEqualTo(Integer value) {
            addCriterion("ptype <>", value, "ptype");
            return (Criteria) this;
        }

        public Criteria andPtypeGreaterThan(Integer value) {
            addCriterion("ptype >", value, "ptype");
            return (Criteria) this;
        }

        public Criteria andPtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ptype >=", value, "ptype");
            return (Criteria) this;
        }

        public Criteria andPtypeLessThan(Integer value) {
            addCriterion("ptype <", value, "ptype");
            return (Criteria) this;
        }

        public Criteria andPtypeLessThanOrEqualTo(Integer value) {
            addCriterion("ptype <=", value, "ptype");
            return (Criteria) this;
        }

        public Criteria andPtypeIn(List<Integer> values) {
            addCriterion("ptype in", values, "ptype");
            return (Criteria) this;
        }

        public Criteria andPtypeNotIn(List<Integer> values) {
            addCriterion("ptype not in", values, "ptype");
            return (Criteria) this;
        }

        public Criteria andPtypeBetween(Integer value1, Integer value2) {
            addCriterion("ptype between", value1, value2, "ptype");
            return (Criteria) this;
        }

        public Criteria andPtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ptype not between", value1, value2, "ptype");
            return (Criteria) this;
        }

        public Criteria andActivityIsNull() {
            addCriterion("activity is null");
            return (Criteria) this;
        }

        public Criteria andActivityIsNotNull() {
            addCriterion("activity is not null");
            return (Criteria) this;
        }

        public Criteria andActivityEqualTo(Integer value) {
            addCriterion("activity =", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityNotEqualTo(Integer value) {
            addCriterion("activity <>", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityGreaterThan(Integer value) {
            addCriterion("activity >", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity >=", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityLessThan(Integer value) {
            addCriterion("activity <", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityLessThanOrEqualTo(Integer value) {
            addCriterion("activity <=", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityIn(List<Integer> values) {
            addCriterion("activity in", values, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityNotIn(List<Integer> values) {
            addCriterion("activity not in", values, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityBetween(Integer value1, Integer value2) {
            addCriterion("activity between", value1, value2, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityNotBetween(Integer value1, Integer value2) {
            addCriterion("activity not between", value1, value2, "activity");
            return (Criteria) this;
        }

        public Criteria andErrendIsNull() {
            addCriterion("errend is null");
            return (Criteria) this;
        }

        public Criteria andErrendIsNotNull() {
            addCriterion("errend is not null");
            return (Criteria) this;
        }

        public Criteria andErrendEqualTo(Integer value) {
            addCriterion("errend =", value, "errend");
            return (Criteria) this;
        }

        public Criteria andErrendNotEqualTo(Integer value) {
            addCriterion("errend <>", value, "errend");
            return (Criteria) this;
        }

        public Criteria andErrendGreaterThan(Integer value) {
            addCriterion("errend >", value, "errend");
            return (Criteria) this;
        }

        public Criteria andErrendGreaterThanOrEqualTo(Integer value) {
            addCriterion("errend >=", value, "errend");
            return (Criteria) this;
        }

        public Criteria andErrendLessThan(Integer value) {
            addCriterion("errend <", value, "errend");
            return (Criteria) this;
        }

        public Criteria andErrendLessThanOrEqualTo(Integer value) {
            addCriterion("errend <=", value, "errend");
            return (Criteria) this;
        }

        public Criteria andErrendIn(List<Integer> values) {
            addCriterion("errend in", values, "errend");
            return (Criteria) this;
        }

        public Criteria andErrendNotIn(List<Integer> values) {
            addCriterion("errend not in", values, "errend");
            return (Criteria) this;
        }

        public Criteria andErrendBetween(Integer value1, Integer value2) {
            addCriterion("errend between", value1, value2, "errend");
            return (Criteria) this;
        }

        public Criteria andErrendNotBetween(Integer value1, Integer value2) {
            addCriterion("errend not between", value1, value2, "errend");
            return (Criteria) this;
        }

        public Criteria andActivityidIsNull() {
            addCriterion("activityId is null");
            return (Criteria) this;
        }

        public Criteria andActivityidIsNotNull() {
            addCriterion("activityId is not null");
            return (Criteria) this;
        }

        public Criteria andActivityidEqualTo(Integer value) {
            addCriterion("activityId =", value, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivityidNotEqualTo(Integer value) {
            addCriterion("activityId <>", value, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivityidGreaterThan(Integer value) {
            addCriterion("activityId >", value, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivityidGreaterThanOrEqualTo(Integer value) {
            addCriterion("activityId >=", value, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivityidLessThan(Integer value) {
            addCriterion("activityId <", value, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivityidLessThanOrEqualTo(Integer value) {
            addCriterion("activityId <=", value, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivityidIn(List<Integer> values) {
            addCriterion("activityId in", values, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivityidNotIn(List<Integer> values) {
            addCriterion("activityId not in", values, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivityidBetween(Integer value1, Integer value2) {
            addCriterion("activityId between", value1, value2, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivityidNotBetween(Integer value1, Integer value2) {
            addCriterion("activityId not between", value1, value2, "activityid");
            return (Criteria) this;
        }

        public Criteria andActivitynameIsNull() {
            addCriterion("activityName is null");
            return (Criteria) this;
        }

        public Criteria andActivitynameIsNotNull() {
            addCriterion("activityName is not null");
            return (Criteria) this;
        }

        public Criteria andActivitynameEqualTo(String value) {
            addCriterion("activityName =", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameNotEqualTo(String value) {
            addCriterion("activityName <>", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameGreaterThan(String value) {
            addCriterion("activityName >", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameGreaterThanOrEqualTo(String value) {
            addCriterion("activityName >=", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameLessThan(String value) {
            addCriterion("activityName <", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameLessThanOrEqualTo(String value) {
            addCriterion("activityName <=", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameLike(String value) {
            addCriterion("activityName like", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameNotLike(String value) {
            addCriterion("activityName not like", value, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameIn(List<String> values) {
            addCriterion("activityName in", values, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameNotIn(List<String> values) {
            addCriterion("activityName not in", values, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameBetween(String value1, String value2) {
            addCriterion("activityName between", value1, value2, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitynameNotBetween(String value1, String value2) {
            addCriterion("activityName not between", value1, value2, "activityname");
            return (Criteria) this;
        }

        public Criteria andActivitytypeIsNull() {
            addCriterion("activityType is null");
            return (Criteria) this;
        }

        public Criteria andActivitytypeIsNotNull() {
            addCriterion("activityType is not null");
            return (Criteria) this;
        }

        public Criteria andActivitytypeEqualTo(Integer value) {
            addCriterion("activityType =", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeNotEqualTo(Integer value) {
            addCriterion("activityType <>", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeGreaterThan(Integer value) {
            addCriterion("activityType >", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("activityType >=", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeLessThan(Integer value) {
            addCriterion("activityType <", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeLessThanOrEqualTo(Integer value) {
            addCriterion("activityType <=", value, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeIn(List<Integer> values) {
            addCriterion("activityType in", values, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeNotIn(List<Integer> values) {
            addCriterion("activityType not in", values, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeBetween(Integer value1, Integer value2) {
            addCriterion("activityType between", value1, value2, "activitytype");
            return (Criteria) this;
        }

        public Criteria andActivitytypeNotBetween(Integer value1, Integer value2) {
            addCriterion("activityType not between", value1, value2, "activitytype");
            return (Criteria) this;
        }

        public Criteria andGoodsIsNull() {
            addCriterion("goods is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIsNotNull() {
            addCriterion("goods is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsEqualTo(String value) {
            addCriterion("goods =", value, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsNotEqualTo(String value) {
            addCriterion("goods <>", value, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsGreaterThan(String value) {
            addCriterion("goods >", value, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsGreaterThanOrEqualTo(String value) {
            addCriterion("goods >=", value, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsLessThan(String value) {
            addCriterion("goods <", value, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsLessThanOrEqualTo(String value) {
            addCriterion("goods <=", value, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsLike(String value) {
            addCriterion("goods like", value, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsNotLike(String value) {
            addCriterion("goods not like", value, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsIn(List<String> values) {
            addCriterion("goods in", values, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsNotIn(List<String> values) {
            addCriterion("goods not in", values, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsBetween(String value1, String value2) {
            addCriterion("goods between", value1, value2, "goods");
            return (Criteria) this;
        }

        public Criteria andGoodsNotBetween(String value1, String value2) {
            addCriterion("goods not between", value1, value2, "goods");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}